﻿using System;
using System.Windows.Forms;

namespace WorkLogger.Client.Forms {
	public partial class StartWorkingForm : Form {
		private DateTime startWorking;

		public DateTime StartWorking {
			get { return startWorking; }
			set {
				startWorkingLabel.Text = string.Format("Начало работы: {0}", TimeSpanFormatHelper.FormatTime(value.TimeOfDay));
				startWorking = value;
			}
		}

		public StartWorkingForm() {
			InitializeComponent();
		}
	}
}